#include "StdAfx.h"
#include "GameObject.h"

IDirect3DDevice9 *GameObject::md3dDev = NULL;

GameObject::GameObject(void):m_Roll(0.0),m_Pitch(0.0),m_Yaw(0.0),
m_Pos(0.0,0.0,0.0),m_Dir(0.0,0.0,0.0), mp_IndBuf(NULL), mp_VtxBuf(NULL)
{
}

GameObject::~GameObject(void)
{
}

int GameObject::initGeom(void)
{
	return 0;
}

int GameObject::render(int time)
{

	return 0;
}

int GameObject::setd3dDev(IDirect3DDevice9 *d3dDev)
{
	if (md3dDev == NULL) {
		md3dDev = d3dDev;
	} else return (1);			//Device already set
	return 0;
}

